package First.HomeWork.Work01;

public class Cylinder extends Cirle{
    private double length;
    public Cylinder(){
        length = 1;
    }
//    public void Cylinder(){
//
//    }

    public double getLength() {
        return length;
    }

    public void setLength(double length) {
        this.length = length;
    }


    public double findVolume(){
        double volume = findArea()*length;

        return volume;
    }
}
